package com.example.springboot_admin.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author svblack
 * @since 2024-09-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("comments")
public class Comments implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "comment_id", type = IdType.AUTO)
    private Integer comment_id;

    @TableField("content")
    private String content;

    @TableField("comment_time")
    private LocalDateTime comment_time;

    @TableField("user_id")
    private Integer user_id;

    @TableField("post_id")
    private Integer post_id;


}
